In [1]:
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
import pymap3d
from demtrack import load_gmat_track, load_csv_track, track_analysis, track_comparison, reference_lla, moon_ellipsoid
The tracking files used below are generated with GMAT and crash.script
.
In [2]:
# Luna centred ICRF ephemeris from 2019-07-25
track_analysis(load_gmat_track('dslwp_luna_pos_25jul.txt'))
In [3]:
# Luna centred ICRF ephemeris from 2019-07-18
track_analysis(load_gmat_track('dslwp_luna_pos_18jul.txt'))
In [4]:
# Luna centred ICRF ephemeris from 2019-06-28
track_analysis(load_gmat_track('dslwp_luna_pos_28jun.txt'))
Impact location obtained by Cees Bassa with CSV file here
In [5]:
pymap3d.geodetic2enu(16.675, 159.617, 0, reference_lla[0], reference_lla[1], reference_lla[2], ell = moon_ellipsoid)
Out[5]:
In [6]:
# CSV file computed by Wei Mingchuan BG2BHC
track_analysis(load_csv_track('DSLWP-B1-MOON LLA Position.csv'))
Comparison between track obtained in GMAT and Wei's track. For some reason it seems that Wei's track is displaced to the southeast.
In [7]:
track_comparison(load_gmat_track('dslwp_luna_pos_25jul.txt'), load_csv_track('DSLWP-B1-MOON LLA Position.csv'))
Comparison with a track in GMAT obtained using 1x1 spherical harmonics for the Moon's gravity.
In [8]:
track_comparison(load_gmat_track('dslwp_luna_pos_25jul_grav1x1.txt'), load_csv_track('DSLWP-B1-MOON LLA Position.csv'))
In [9]:
track_analysis(load_gmat_track('dslwp_luna_pos_25jul_grav1x1.txt'))
Evaluation of the effect of not converting from MOON_PA to MOON_ME.
In [10]:
track_analysis(load_gmat_track('dslwp_luna_pos_25jul_grav1x1.txt', skip_pa2me = True))
Assesment of a 2x1 gravity model.
In [14]:
track_comparison(load_gmat_track('dslwp_luna_pos_25jul_grav2x1.txt'), load_csv_track('DSLWP-B1-MOON LLA Position.csv'))
In [15]:
track_analysis(load_gmat_track('dslwp_luna_pos_25jul_grav2x1.txt'))
Assesment of a 20x20 gravity model.
In [19]:
track_analysis(load_gmat_track('dslwp_luna_pos_25jul_grav20x20.txt'))